package com.fengxing.ams.web.action.view;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;
import org.hibernate.validator.constraints.Range;

public class SysCodeCreateVO {

	@NotEmpty(message="{channel.not.empty}")
	private String c_channel;
	@NotNull(message="{num.not.correct}")
	@Range(min=1, max=100, message="{num.not.correct}")
	private Integer c_num;
	@NotNull(message="{role.not.correct}")
	@Range(min=1, max=3, message="{role.not.correct}")
	private Integer c_role;
	public String getC_channel() {
		return c_channel;
	}
	public void setC_channel(String c_channel) {
		this.c_channel = c_channel;
	}
	public Integer getC_num() {
		return c_num;
	}
	public void setC_num(Integer c_num) {
		this.c_num = c_num;
	}
	public Integer getC_role() {
		return c_role;
	}
	public void setC_role(Integer c_role) {
		this.c_role = c_role;
	}
	
}
